<?php

namespace app\common\validate;

use think\Validate;

class Redpacket extends Validate
{
    protected $rule = [
        'openid' => 'require',
        'userid' => 'require'
    ];

    protected $message = [
        'openid.require' => 'openid不能为空',
        'userid.require' => '分享人ID不能为空'
    ];
}